package com.chenhy.springbootvuesmbms.service;

import com.chenhy.springbootvuesmbms.pojo.User;

import java.util.List;

public interface UserService {

    List<User> queryAllUser();

    List<User> userFuzzyQuery(String condition);

    int addUser(User user);

    int deleteUser(int id);

    User queryUserById(int id);

    int updateUser(User user);

    int resetPasswordById(int id);

//    Boolean revisePassword(LoginUser loginUser, String oldPassword, String newPassword);

    public void flushCache();



}
